import {
  Zap,
  Keyboard,
  Brain,
  Eye,
  Target,
  Palette,
  Calculator,
  Puzzle,
  Focus,
  BookOpen,
  Star,
  Crown,
  Medal,
  Flame,
  Trophy,
  Boxes,
  TrendingUp,
  Lightbulb,
  Search,
  Sparkles,
  MessageCircle,
  Volume2,
  ArrowRight,
  Smile,
  Layers,
  FileText,
  Shuffle,
  StopCircle,
  Gauge,
  MapPin,
  Mic,
  Scale,
  Timer,
  Hash,
  GitBranch
} from 'lucide-vue-next';

export const getTestCategories = (t) => ({
  cognitive: {
    name: t('tests.categories.cognitive.name'),
    description: t('tests.categories.cognitive.description'),
    color: 'text-blue-500',
    tests: ['reaction', 'memory', 'attention', 'working-memory']
  },
  academic: {
    name: t('tests.categories.academic.name'),
    description: t('tests.categories.academic.description'),
    color: 'text-green-500',
    tests: ['math', 'typing']
  },
  perceptual: {
    name: t('tests.categories.perceptual.name'),
    description: t('tests.categories.perceptual.description'),
    color: 'text-purple-500',
    tests: ['color', 'visual', 'coordination']
  },
  logical: {
    name: t('tests.categories.logical.name'),
    description: t('tests.categories.logical.description'),
    color: 'text-orange-500',
    tests: ['logical', 'spatial-reasoning', 'pattern-recognition', 'abstract-reasoning', 'sequence-reasoning']
  },
  creative: {
    name: t('tests.categories.creative.name'),
    description: t('tests.categories.creative.description'),
    color: 'text-emerald-500',
    tests: ['critical-thinking', 'creative-thinking']
  },
  language: {
    name: t('tests.categories.language.name'),
    description: t('tests.categories.language.description'),
    color: 'text-pink-500',
    tests: ['word-association', 'reading-comprehension', 'verbal-fluency']
  },
  memory: {
    name: t('tests.categories.memory.name'),
    description: t('tests.categories.memory.description'),
    color: 'text-indigo-500',
    tests: ['audio-memory', 'spatial-memory']
  },
  social: {
    name: t('tests.categories.social.name'),
    description: t('tests.categories.social.description'),
    color: 'text-rose-500',
    tests: ['emotion-recognition']
  },
  executive: {
    name: t('tests.categories.executive.name'),
    description: t('tests.categories.executive.description'),
    color: 'text-teal-500',
    tests: ['multitask', 'cognitive-flexibility', 'inhibitory-control']
  },
  processing: {
    name: t('tests.categories.processing.name'),
    description: t('tests.categories.processing.description'),
    color: 'text-amber-500',
    tests: ['processing-speed']
  },
  decision: {
    name: t('tests.categories.decision.name'),
    description: t('tests.categories.decision.description'),
    color: 'text-violet-500',
    tests: ['decision-making', 'concept-formation']
  },
  perception: {
    name: t('tests.categories.perception.name'),
    description: t('tests.categories.perception.description'),
    color: 'text-orange-500',
    tests: ['time-perception', 'digit-memory']
  }
});

export const getTests = (t) => [
  {
    id: 'reaction',
    title: t('tests.testItems.reaction.title'),
    description: t('tests.testItems.reaction.description'),
    icon: Zap,
    color: 'text-yellow-500',
    bgColor: 'bg-yellow-50 dark:bg-yellow-950',
    difficulty: t('tests.difficulty.easy'),
    duration: t('tests.testItems.reaction.duration'),
    category: 'cognitive'
  },
  {
    id: 'typing',
    title: t('tests.testItems.typing.title'),
    description: t('tests.testItems.typing.description'),
    icon: Keyboard,
    color: 'text-blue-500',
    bgColor: 'bg-blue-50 dark:bg-blue-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.typing.duration'),
    category: 'academic'
  },
  {
    id: 'memory',
    title: t('tests.testItems.memory.title'),
    description: t('tests.testItems.memory.description'),
    icon: Brain,
    color: 'text-purple-500',
    bgColor: 'bg-purple-50 dark:bg-purple-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.memory.duration'),
    category: 'cognitive'
  },
  {
    id: 'attention',
    title: t('tests.testItems.attention.title'),
    description: t('tests.testItems.attention.description'),
    icon: Eye,
    color: 'text-green-500',
    bgColor: 'bg-green-50 dark:bg-green-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.attention.duration'),
    category: 'cognitive'
  },
  {
    id: 'coordination',
    title: t('tests.testItems.coordination.title'),
    description: t('tests.testItems.coordination.description'),
    icon: Target,
    color: 'text-red-500',
    bgColor: 'bg-red-50 dark:bg-red-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.coordination.duration'),
    category: 'perceptual'
  },
  {
    id: 'color',
    title: t('tests.testItems.color.title'),
    description: t('tests.testItems.color.description'),
    icon: Palette,
    color: 'text-pink-500',
    bgColor: 'bg-pink-50 dark:bg-pink-950',
    difficulty: t('tests.difficulty.easy'),
    duration: t('tests.testItems.color.duration'),
    category: 'perceptual'
  },
  {
    id: 'math',
    title: t('tests.testItems.math.title'),
    description: t('tests.testItems.math.description'),
    icon: Calculator,
    color: 'text-indigo-500',
    bgColor: 'bg-indigo-50 dark:bg-indigo-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.math.duration'),
    category: 'academic'
  },
  {
    id: 'logical',
    title: t('tests.testItems.logical.title'),
    description: t('tests.testItems.logical.description'),
    icon: Puzzle,
    color: 'text-orange-500',
    bgColor: 'bg-orange-50 dark:bg-orange-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.logical.duration'),
    category: 'academic'
  },
  {
    id: 'visual',
    title: t('tests.testItems.visual.title'),
    description: t('tests.testItems.visual.description'),
    icon: Focus,
    color: 'text-teal-500',
    bgColor: 'bg-teal-50 dark:bg-teal-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.visual.duration'),
    category: 'perceptual'
  },
  {
    id: 'working-memory',
    title: t('tests.testItems.working-memory.title'),
    description: t('tests.testItems.working-memory.description'),
    icon: BookOpen,
    color: 'text-cyan-500',
    bgColor: 'bg-cyan-50 dark:bg-cyan-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.working-memory.duration'),
    category: 'cognitive'
  },
  {
    id: 'spatial-reasoning',
    title: t('tests.testItems.spatial-reasoning.title'),
    description: t('tests.testItems.spatial-reasoning.description'),
    icon: Boxes,
    color: 'text-amber-500',
    bgColor: 'bg-amber-50 dark:bg-amber-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.spatial-reasoning.duration'),
    category: 'logical'
  },
  {
    id: 'pattern-recognition',
    title: t('tests.testItems.pattern-recognition.title'),
    description: t('tests.testItems.pattern-recognition.description'),
    icon: TrendingUp,
    color: 'text-rose-500',
    bgColor: 'bg-rose-50 dark:bg-rose-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.pattern-recognition.duration'),
    category: 'logical'
  },
  {
    id: 'abstract-reasoning',
    title: t('tests.testItems.abstract-reasoning.title'),
    description: t('tests.testItems.abstract-reasoning.description'),
    icon: Search,
    color: 'text-violet-500',
    bgColor: 'bg-violet-50 dark:bg-violet-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.abstract-reasoning.duration'),
    category: 'logical'
  },
  {
    id: 'critical-thinking',
    title: t('tests.testItems.critical-thinking.title'),
    description: t('tests.testItems.critical-thinking.description'),
    icon: Lightbulb,
    color: 'text-emerald-500',
    bgColor: 'bg-emerald-50 dark:bg-emerald-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.critical-thinking.duration'),
    category: 'creative'
  },
  {
    id: 'creative-thinking',
    title: t('tests.testItems.creative-thinking.title'),
    description: t('tests.testItems.creative-thinking.description'),
    icon: Sparkles,
    color: 'text-sky-500',
    bgColor: 'bg-sky-50 dark:bg-sky-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.creative-thinking.duration'),
    category: 'creative'
  },
  {
    id: 'word-association',
    title: t('tests.testItems.word-association.title'),
    description: t('tests.testItems.word-association.description'),
    icon: MessageCircle,
    color: 'text-pink-500',
    bgColor: 'bg-pink-50 dark:bg-pink-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.word-association.duration'),
    category: 'language'
  },
  {
    id: 'audio-memory',
    title: t('tests.testItems.audio-memory.title'),
    description: t('tests.testItems.audio-memory.description'),
    icon: Volume2,
    color: 'text-indigo-500',
    bgColor: 'bg-indigo-50 dark:bg-indigo-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.audio-memory.duration'),
    category: 'memory'
  },
  {
    id: 'sequence-reasoning',
    title: t('tests.testItems.sequence-reasoning.title'),
    description: t('tests.testItems.sequence-reasoning.description'),
    icon: ArrowRight,
    color: 'text-slate-500',
    bgColor: 'bg-slate-50 dark:bg-slate-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.sequence-reasoning.duration'),
    category: 'logical'
  },
  {
    id: 'emotion-recognition',
    title: t('tests.testItems.emotion-recognition.title'),
    description: t('tests.testItems.emotion-recognition.description'),
    icon: Smile,
    color: 'text-rose-500',
    bgColor: 'bg-rose-50 dark:bg-rose-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.emotion-recognition.duration'),
    category: 'social'
  },
  {
    id: 'multitask',
    title: t('tests.testItems.multitask.title'),
    description: t('tests.testItems.multitask.description'),
    icon: Layers,
    color: 'text-teal-500',
    bgColor: 'bg-teal-50 dark:bg-teal-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.multitask.duration'),
    category: 'executive'
  },
  {
    id: 'reading-comprehension',
    title: t('tests.testItems.reading-comprehension.title'),
    description: t('tests.testItems.reading-comprehension.description'),
    icon: FileText,
    color: 'text-pink-600',
    bgColor: 'bg-pink-50 dark:bg-pink-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.reading-comprehension.duration'),
    category: 'language'
  },
  {
    id: 'cognitive-flexibility',
    title: t('tests.testItems.cognitive-flexibility.title'),
    description: t('tests.testItems.cognitive-flexibility.description'),
    icon: Shuffle,
    color: 'text-teal-600',
    bgColor: 'bg-teal-50 dark:bg-teal-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.cognitive-flexibility.duration'),
    category: 'executive'
  },
  {
    id: 'inhibitory-control',
    title: t('tests.testItems.inhibitory-control.title'),
    description: t('tests.testItems.inhibitory-control.description'),
    icon: StopCircle,
    color: 'text-red-600',
    bgColor: 'bg-red-50 dark:bg-red-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.inhibitory-control.duration'),
    category: 'executive'
  },
  {
    id: 'processing-speed',
    title: t('tests.testItems.processing-speed.title'),
    description: t('tests.testItems.processing-speed.description'),
    icon: Gauge,
    color: 'text-amber-600',
    bgColor: 'bg-amber-50 dark:bg-amber-950',
    difficulty: t('tests.difficulty.easy'),
    duration: t('tests.testItems.processing-speed.duration'),
    category: 'processing'
  },
  {
    id: 'spatial-memory',
    title: t('tests.testItems.spatial-memory.title'),
    description: t('tests.testItems.spatial-memory.description'),
    icon: MapPin,
    color: 'text-indigo-600',
    bgColor: 'bg-indigo-50 dark:bg-indigo-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.spatial-memory.duration'),
    category: 'memory'
  },
  {
    id: 'verbal-fluency',
    title: t('tests.testItems.verbal-fluency.title'),
    description: t('tests.testItems.verbal-fluency.description'),
    icon: Mic,
    color: 'text-pink-700',
    bgColor: 'bg-pink-50 dark:bg-pink-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.verbal-fluency.duration'),
    category: 'language'
  },
  {
    id: 'decision-making',
    title: t('tests.testItems.decision-making.title'),
    description: t('tests.testItems.decision-making.description'),
    icon: Scale,
    color: 'text-violet-600',
    bgColor: 'bg-violet-50 dark:bg-violet-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.decision-making.duration'),
    category: 'decision'
  },
  {
    id: 'time-perception',
    title: t('tests.testItems.time-perception.title'),
    description: t('tests.testItems.time-perception.description'),
    icon: Timer,
    color: 'text-orange-600',
    bgColor: 'bg-orange-50 dark:bg-orange-950',
    difficulty: t('tests.difficulty.medium'),
    duration: t('tests.testItems.time-perception.duration'),
    category: 'perception'
  },
  {
    id: 'digit-memory',
    title: t('tests.testItems.digit-memory.title'),
    description: t('tests.testItems.digit-memory.description'),
    icon: Hash,
    color: 'text-blue-700',
    bgColor: 'bg-blue-50 dark:bg-blue-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.digit-memory.duration'),
    category: 'perception'
  },
  {
    id: 'concept-formation',
    title: t('tests.testItems.concept-formation.title'),
    description: t('tests.testItems.concept-formation.description'),
    icon: GitBranch,
    color: 'text-violet-700',
    bgColor: 'bg-violet-50 dark:bg-violet-950',
    difficulty: t('tests.difficulty.hard'),
    duration: t('tests.testItems.concept-formation.duration'),
    category: 'decision'
  }
];

export const getInitialAchievements = (t) => [
  // 基础成就 - 测试完成里程碑
  {
    id: 'first-test',
    name: t('tests.achievements.first-test.name'),
    description: t('tests.achievements.first-test.description'),
    icon: Star,
    unlocked: false,
    category: 'milestone',
    rarity: 'common'
  },
  {
    id: 'five-tests',
    name: t('tests.achievements.five-tests.name'),
    description: t('tests.achievements.five-tests.description'),
    icon: Medal,
    unlocked: false,
    category: 'milestone',
    rarity: 'common'
  },
  {
    id: 'ten-tests',
    name: t('tests.achievements.ten-tests.name'),
    description: t('tests.achievements.ten-tests.description'),
    icon: Search,
    unlocked: false,
    category: 'milestone',
    rarity: 'uncommon'
  },
  {
    id: 'twenty-tests',
    name: t('tests.achievements.twenty-tests.name'),
    description: t('tests.achievements.twenty-tests.description'),
    icon: Crown,
    unlocked: false,
    category: 'milestone',
    rarity: 'rare'
  },
  {
    id: 'all-tests',
    name: t('tests.achievements.all-tests.name'),
    description: t('tests.achievements.all-tests.description'),
    icon: Trophy,
    unlocked: false,
    category: 'milestone',
    rarity: 'legendary'
  },

  // 表现成就 - 分数相关
  {
    id: 'perfect-score',
    name: t('tests.achievements.perfect-score.name'),
    description: t('tests.achievements.perfect-score.description'),
    icon: Crown,
    unlocked: false,
    category: 'performance',
    rarity: 'rare'
  },
  {
    id: 'high-achiever',
    name: t('tests.achievements.high-achiever.name'),
    description: t('tests.achievements.high-achiever.description'),
    icon: TrendingUp,
    unlocked: false,
    category: 'performance',
    rarity: 'uncommon'
  },
  {
    id: 'consistency-king',
    name: t('tests.achievements.consistency-king.name'),
    description: t('tests.achievements.consistency-king.description'),
    icon: Target,
    unlocked: false,
    category: 'performance',
    rarity: 'rare'
  },
  {
    id: 'average-excellence',
    name: t('tests.achievements.average-excellence.name'),
    description: t('tests.achievements.average-excellence.description'),
    icon: Star,
    unlocked: false,
    category: 'performance',
    rarity: 'epic'
  },

  // 专业成就 - 各认知领域精通
  {
    id: 'cognitive-master',
    name: t('tests.achievements.cognitive-master.name'),
    description: t('tests.achievements.cognitive-master.description'),
    icon: Brain,
    unlocked: false,
    category: 'mastery',
    rarity: 'rare'
  },
  {
    id: 'logic-genius',
    name: t('tests.achievements.logic-genius.name'),
    description: t('tests.achievements.logic-genius.description'),
    icon: Puzzle,
    unlocked: false,
    category: 'mastery',
    rarity: 'epic'
  },
  {
    id: 'creative-mind',
    name: t('tests.achievements.creative-mind.name'),
    description: t('tests.achievements.creative-mind.description'),
    icon: Lightbulb,
    unlocked: false,
    category: 'mastery',
    rarity: 'rare'
  },
  {
    id: 'memory-champion',
    name: t('tests.achievements.memory-champion.name'),
    description: t('tests.achievements.memory-champion.description'),
    icon: BookOpen,
    unlocked: false,
    category: 'mastery',
    rarity: 'epic'
  },
  {
    id: 'language-expert',
    name: t('tests.achievements.language-expert.name'),
    description: t('tests.achievements.language-expert.description'),
    icon: MessageCircle,
    unlocked: false,
    category: 'mastery',
    rarity: 'rare'
  },
  {
    id: 'perception-pro',
    name: t('tests.achievements.perception-pro.name'),
    description: t('tests.achievements.perception-pro.description'),
    icon: Eye,
    unlocked: false,
    category: 'mastery',
    rarity: 'rare'
  },
  {
    id: 'social-intelligence',
    name: t('tests.achievements.social-intelligence.name'),
    description: t('tests.achievements.social-intelligence.description'),
    icon: Smile,
    unlocked: false,
    category: 'mastery',
    rarity: 'epic'
  },
  {
    id: 'executive-excellence',
    name: t('tests.achievements.executive-excellence.name'),
    description: t('tests.achievements.executive-excellence.description'),
    icon: Layers,
    unlocked: false,
    category: 'mastery',
    rarity: 'rare'
  },

  // 速度成就
  {
    id: 'speed-demon',
    name: t('tests.achievements.speed-demon.name'),
    description: t('tests.achievements.speed-demon.description'),
    icon: Zap,
    unlocked: false,
    category: 'speed',
    rarity: 'rare'
  },
  {
    id: 'typing-master',
    name: t('tests.achievements.typing-master.name'),
    description: t('tests.achievements.typing-master.description'),
    icon: Keyboard,
    unlocked: false,
    category: 'speed',
    rarity: 'uncommon'
  },
  {
    id: 'quick-thinker',
    name: t('tests.achievements.quick-thinker.name'),
    description: t('tests.achievements.quick-thinker.description'),
    icon: Calculator,
    unlocked: false,
    category: 'speed',
    rarity: 'rare'
  },

  // 坚持成就 - 连续性奖励
  {
    id: 'streak-3',
    name: t('tests.achievements.streak-3.name'),
    description: t('tests.achievements.streak-3.description'),
    icon: Flame,
    unlocked: false,
    category: 'persistence',
    rarity: 'common'
  },
  {
    id: 'streak-7',
    name: t('tests.achievements.streak-7.name'),
    description: t('tests.achievements.streak-7.description'),
    icon: Flame,
    unlocked: false,
    category: 'persistence',
    rarity: 'uncommon'
  },
  {
    id: 'streak-14',
    name: t('tests.achievements.streak-14.name'),
    description: t('tests.achievements.streak-14.description'),
    icon: Flame,
    unlocked: false,
    category: 'persistence',
    rarity: 'rare'
  },
  {
    id: 'streak-30',
    name: t('tests.achievements.streak-30.name'),
    description: t('tests.achievements.streak-30.description'),
    icon: Flame,
    unlocked: false,
    category: 'persistence',
    rarity: 'legendary'
  },

  // 综合成就 - 多维度表现
  {
    id: 'all-categories',
    name: t('tests.achievements.all-categories.name'),
    description: t('tests.achievements.all-categories.description'),
    icon: Trophy,
    unlocked: false,
    category: 'comprehensive',
    rarity: 'epic'
  },
  {
    id: 'well-rounded',
    name: t('tests.achievements.well-rounded.name'),
    description: t('tests.achievements.well-rounded.description'),
    icon: Star,
    unlocked: false,
    category: 'comprehensive',
    rarity: 'legendary'
  },
  {
    id: 'cognitive-elite',
    name: t('tests.achievements.cognitive-elite.name'),
    description: t('tests.achievements.cognitive-elite.description'),
    icon: Crown,
    unlocked: false,
    category: 'comprehensive',
    rarity: 'legendary'
  },

  // 挑战成就 - 特殊条件
  {
    id: 'perfect-streak',
    name: t('tests.achievements.perfect-streak.name'),
    description: t('tests.achievements.perfect-streak.description'),
    icon: Target,
    unlocked: false,
    category: 'challenge',
    rarity: 'epic'
  },
  {
    id: 'improvement-master',
    name: t('tests.achievements.improvement-master.name'),
    description: t('tests.achievements.improvement-master.description'),
    icon: TrendingUp,
    unlocked: false,
    category: 'challenge',
    rarity: 'rare'
  },
  {
    id: 'night-owl',
    name: t('tests.achievements.night-owl.name'),
    description: t('tests.achievements.night-owl.description'),
    icon: Eye,
    unlocked: false,
    category: 'challenge',
    rarity: 'uncommon'
  },
  {
    id: 'early-bird',
    name: t('tests.achievements.early-bird.name'),
    description: t('tests.achievements.early-bird.description'),
    icon: Timer,
    unlocked: false,
    category: 'challenge',
    rarity: 'uncommon'
  },

  // 专项测试成就
  {
    id: 'reaction-lightning',
    name: t('tests.achievements.reaction-lightning.name'),
    description: t('tests.achievements.reaction-lightning.description'),
    icon: Zap,
    unlocked: false,
    category: 'specific',
    rarity: 'epic'
  },
  {
    id: 'memory-palace',
    name: t('tests.achievements.memory-palace.name'),
    description: t('tests.achievements.memory-palace.description'),
    icon: Brain,
    unlocked: false,
    category: 'specific',
    rarity: 'rare'
  },
  {
    id: 'eagle-eye',
    name: t('tests.achievements.eagle-eye.name'),
    description: t('tests.achievements.eagle-eye.description'),
    icon: Focus,
    unlocked: false,
    category: 'specific',
    rarity: 'rare'
  },
  {
    id: 'math-wizard',
    name: t('tests.achievements.math-wizard.name'),
    description: t('tests.achievements.math-wizard.description'),
    icon: Calculator,
    unlocked: false,
    category: 'specific',
    rarity: 'epic'
  },
  {
    id: 'color-master',
    name: t('tests.achievements.color-master.name'),
    description: t('tests.achievements.color-master.description'),
    icon: Palette,
    unlocked: false,
    category: 'specific',
    rarity: 'rare'
  },
  {
    id: 'coordination-king',
    name: t('tests.achievements.coordination-king.name'),
    description: t('tests.achievements.coordination-king.description'),
    icon: Target,
    unlocked: false,
    category: 'specific',
    rarity: 'epic'
  },

  // 稀有隐藏成就
  {
    id: 'lucky-seven',
    name: t('tests.achievements.lucky-seven.name'),
    description: t('tests.achievements.lucky-seven.description'),
    icon: Star,
    unlocked: false,
    category: 'hidden',
    rarity: 'legendary'
  },
  {
    id: 'century-club',
    name: t('tests.achievements.century-club.name'),
    description: t('tests.achievements.century-club.description'),
    icon: Trophy,
    unlocked: false,
    category: 'hidden',
    rarity: 'legendary'
  },
  {
    id: 'perfectionist',
    name: t('tests.achievements.perfectionist.name'),
    description: t('tests.achievements.perfectionist.description'),
    icon: Crown,
    unlocked: false,
    category: 'hidden',
    rarity: 'legendary'
  },
  {
    id: 'renaissance-mind',
    name: t('tests.achievements.renaissance-mind.name'),
    description: t('tests.achievements.renaissance-mind.description'),
    icon: Sparkles,
    unlocked: false,
    category: 'hidden',
    rarity: 'legendary'
  },

  // AI对战成就
  {
    id: 'ai-challenger',
    name: t('tests.achievements.ai-challenger.name'),
    description: t('tests.achievements.ai-challenger.description'),
    icon: Trophy,
    unlocked: false,
    category: 'ai-battle',
    rarity: 'common'
  },
  {
    id: 'ai-victor',
    name: t('tests.achievements.ai-victor.name'),
    description: t('tests.achievements.ai-victor.description'),
    icon: Crown,
    unlocked: false,
    category: 'ai-battle',
    rarity: 'rare'
  },
  {
    id: 'ai-dominator',
    name: t('tests.achievements.ai-dominator.name'),
    description: t('tests.achievements.ai-dominator.description'),
    icon: Flame,
    unlocked: false,
    category: 'ai-battle',
    rarity: 'epic'
  },

  // 新增专项测试成就 - 补充最新的测试
  {
    id: 'digit-savant',
    name: t('tests.achievements.digit-savant.name'),
    description: t('tests.achievements.digit-savant.description'),
    icon: Hash,
    unlocked: false,
    category: 'specific',
    rarity: 'epic'
  },
  {
    id: 'time-master',
    name: t('tests.achievements.time-master.name'),
    description: t('tests.achievements.time-master.description'),
    icon: Timer,
    unlocked: false,
    category: 'specific',
    rarity: 'rare'
  },
  {
    id: 'concept-genius',
    name: t('tests.achievements.concept-genius.name'),
    description: t('tests.achievements.concept-genius.description'),
    icon: GitBranch,
    unlocked: false,
    category: 'specific',
    rarity: 'epic'
  },
  {
    id: 'spatial-navigator',
    name: t('tests.achievements.spatial-navigator.name'),
    description: t('tests.achievements.spatial-navigator.description'),
    icon: MapPin,
    unlocked: false,
    category: 'specific',
    rarity: 'rare'
  },
  {
    id: 'verbal-virtuoso',
    name: t('tests.achievements.verbal-virtuoso.name'),
    description: t('tests.achievements.verbal-virtuoso.description'),
    icon: Mic,
    unlocked: false,
    category: 'specific',
    rarity: 'rare'
  },
  {
    id: 'decision-maker',
    name: t('tests.achievements.decision-maker.name'),
    description: t('tests.achievements.decision-maker.description'),
    icon: Scale,
    unlocked: false,
    category: 'specific',
    rarity: 'rare'
  },
  {
    id: 'processing-pro',
    name: t('tests.achievements.processing-pro.name'),
    description: t('tests.achievements.processing-pro.description'),
    icon: Gauge,
    unlocked: false,
    category: 'specific',
    rarity: 'rare'
  },

  // 新增类别精通成就
  {
    id: 'processing-master',
    name: t('tests.achievements.processing-master.name'),
    description: t('tests.achievements.processing-master.description'),
    icon: Gauge,
    unlocked: false,
    category: 'mastery',
    rarity: 'rare'
  },
  {
    id: 'decision-master',
    name: t('tests.achievements.decision-master.name'),
    description: t('tests.achievements.decision-master.description'),
    icon: Scale,
    unlocked: false,
    category: 'mastery',
    rarity: 'rare'
  },
  {
    id: 'perception-master',
    name: t('tests.achievements.perception-master.name'),
    description: t('tests.achievements.perception-master.description'),
    icon: Timer,
    unlocked: false,
    category: 'mastery',
    rarity: 'rare'
  },

  // 增强版综合成就
  {
    id: 'cognitive-supreme',
    name: t('tests.achievements.cognitive-supreme.name'),
    description: t('tests.achievements.cognitive-supreme.description'),
    icon: Crown,
    unlocked: false,
    category: 'comprehensive',
    rarity: 'legendary'
  },
  {
    id: 'ultimate-scholar',
    name: t('tests.achievements.ultimate-scholar.name'),
    description: t('tests.achievements.ultimate-scholar.description'),
    icon: Sparkles,
    unlocked: false,
    category: 'comprehensive',
    rarity: 'legendary'
  }
];